package com.xuyl.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author nisemono
 * @date 2023-02-27 18:56
 */
@Data
public class User {
    private Integer id;
    private String name;
    private String sex;
    private String age;
    private String phone;
    private String province;    // 省
    private String city;        // 城市
    private String county;      // 区
    private String address;
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;    // 记录是否删除
    @Version
    private Integer version;    // 乐观锁

}
